// 封装一个函数 确定时间
export const getTime = () =>{
  let hours = new Date().getHours();
  let message = '';
  if (hours <= 9) {
    message = '早上'
  }else if(hours >9 && hours <= 14){
    message = '上午'
  }else if(hours >14 && hours <= 18){
    message = '下午'
  }else {
    message = '晚上'
  }
  return message;
}